<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> 
<jsp:directive.page import="com.zhenjw.dao.UserDaoImpl"/>
<jsp:directive.page import="com.zhenjw.dao.po.*"/>

<%   
String path = request.getContextPath();   
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";   
%>   
  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">   
<html>   
  <head>   
    <base href="<%=basePath%>">   
       
    <title>首页</title>   
   </head>   
     
  <body>   
   文件上传的实例：   
    <a  href="fileupload/upload.action" target="_blank">FileUpload</a>   
    
    <br>
    Spring
    <a  href="fileupload/springUpload.action" target="_blank">FileUpload</a>
  </body>   
  
  <%
        UserDaoImpl impl=new UserDaoImpl();
	    
	    User user=new User();
	    try{
	    impl.query(1, 1, new User(), null);
	    }catch(Exception e)
	    {
	    e.printStackTrace();
	    e.getMessage()
	    }
   %>
</html>  